/**
  * @author: qzk
  * @Description: 排行榜
  * url:
  * @param
  */
import Request from "@/utils/request";
import {RankListData, YourData} from "@/type/resType/rankResType.ts"
import {xmlyResData} from "@/type/resType/resType.ts"
class rankCategory extends Request{
    getCategory1and2=()=>{
    return this.get<xmlyResData<YourData>>({
        url:"/revision/rank/v4/rankTabs?sceneId=1"
    })
    }
    getShowList=(rankingId:number)=>{
        return this.get<xmlyResData<RankListData>>({
            url:`/revision/rank/v4/element?${rankingId}`
        })
    }
}
export default new rankCategory()
